package com.sneaker.shower.socket.feature;

import java.util.Objects;

/**
 * <h1>AbstractSign</h1>
 * <pre>
 * @Description
 * </pre>
 *
 * @Author lopo
 * @Date 2018/10/19
 */
public abstract class AbstractSign implements SignAble {
    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        AbstractSign that = (AbstractSign) o;
        return Objects.equals(sign(), that.sign());
    }
}
